package com.oracle.sbdb.model;

public class BugInfo {
	private Integer bug_id;
	private String bug_subject;
	private Integer product_id;
	private Integer component_id;
	private Integer assignee_id;
	private Integer support_id;
	private String customer;
	private Integer status;
	private Integer severity;
	private Integer bug_type;
	private Character gen_prt;
	private Integer bug_os_id;
	private String bug_os_release;

	public BugInfo(){};
	
	public BugInfo(int bugId, String bug_subject, int productId, int componentId, int assigneeId,
			int supportId, String customer, int status, int severity,
			int bugType, char genPrt, int bugOSId, String bugOSRelease) {
		setBug_id(bugId);
		setBug_subject(bug_subject);
		setProduct_id(productId);
		setComponent_id(componentId);
		setAssignee_id(assigneeId);
		setSupport_id(supportId);
		setCustomer(customer);
		setStatus(status);
		setSeverity(severity);
		setBug_type(bugType);
		setGen_prt(genPrt);
		setBug_os_id(bugOSId);
		setBug_os_release(bugOSRelease);
	}

	public Integer getBug_id() {
		return bug_id;
	}

	public void setBug_id(Integer bug_id) {
		this.bug_id = bug_id;
	}

	public Integer getProduct_id() {
		return product_id;
	}

	public String getBug_subject() {
		return bug_subject;
	}

	public void setBug_subject(String bug_subject) {
		this.bug_subject = bug_subject;
	}

	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}

	public Integer getComponent_id() {
		return component_id;
	}

	public void setComponent_id(Integer component_id) {
		this.component_id = component_id;
	}

	public Integer getAssignee_id() {
		return assignee_id;
	}

	public void setAssignee_id(Integer assignee_id) {
		this.assignee_id = assignee_id;
	}

	public Integer getSupport_id() {
		return support_id;
	}

	public void setSupport_id(Integer support_id) {
		this.support_id = support_id;
	}

	public String getCustomer() {
		return customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSeverity() {
		return severity;
	}

	public void setSeverity(Integer serverity) {
		this.severity = serverity;
	}

	public Integer getBug_type() {
		return bug_type;
	}

	public void setBug_type(Integer bug_type) {
		this.bug_type = bug_type;
	}

	public Character getGen_prt() {
		return gen_prt;
	}

	public void setGen_prt(Character gen_prt) {
		this.gen_prt = gen_prt;
	}

	public Integer getBug_os_id() {
		return bug_os_id;
	}

	public void setBug_os_id(Integer bug_os_id) {
		this.bug_os_id = bug_os_id;
	}

	public String getBug_os_release() {
		return bug_os_release;
	}

	public void setBug_os_release(String bug_os_release) {
		this.bug_os_release = bug_os_release;
	}

	public String toString() {
		return "Bug ID: " + getBug_id() + "    +Customer: " + getCustomer();
	}
}
